<ng-container *ngIf="!isembeddedView">
<ion-header class="app-view-header">
    <ion-toolbar class="app-view-toolbar" color="primary">
        <ion-buttons  slot="start">
            <ion-button  (click)="backView()"  class="app-toolbar-left-buttons">
                <ion-icon name="arrow-back"></ion-icon>
                取消
            </ion-button>
        </ion-buttons>
        <ion-title class="app-view-title">请假</ion-title>
        <ion-buttons  slot="end"  class="app-toolbar-right-buttons">
             <ion-button (click)="onOK($event)">
                确认
            </ion-button>
        </ion-buttons>
    </ion-toolbar>
</ion-header>
<ion-content  class="app-view app-view-mobwfoptview  qjmob-wfaction-view">
<div class="app-view-body">
    <div>
        <ctrl-wfform-form   [isembeddedView]="isembeddedView"  [isModalMode]="isModalMode"  [viewState]="viewState"  [updateAction]="'update'"  [removeAction]="'remove'"  [loaddraftAction]="'getdraft'"  [loadAction]="'get'"  [createAction]="'create'" [name]="'form'" (wfstartemit)="form_wfstart($event)" (saveemit)="form_save($event)" (wfsubmitemit)="form_wfsubmit($event)" (removeemit)="form_remove($event)" (loademit)="form_load($event)" ></ctrl-wfform-form>
    </div>
    <div>
    </div>
</div>

</ion-content>
</ng-container>
<ng-container *ngIf="isembeddedView">
    <div  class="app-view app-embedded-mobwfoptview  qjmob-wfaction-view">
        <ng-container *ngIf="!isTabexp">
        <div class="app-view-embedded">
            <div>请假</div>
            <div  class="app-view-embedded-icon"><ion-icon name="more" (click)="click_action()"></ion-icon></div>
        </div>
        </ng-container>
        <div class="app-view-body">
            <div>
                <ctrl-wfform-form   [isembeddedView]="isembeddedView"  [isModalMode]="isModalMode"  [viewState]="viewState"  [updateAction]="'update'"  [removeAction]="'remove'"  [loaddraftAction]="'getdraft'"  [loadAction]="'get'"  [createAction]="'create'" [name]="'form'" (wfstartemit)="form_wfstart($event)" (saveemit)="form_save($event)" (wfsubmitemit)="form_wfsubmit($event)" (removeemit)="form_remove($event)" (loademit)="form_load($event)" ></ctrl-wfform-form>
            </div>
        </div>
    </div>
</ng-container>


